//
//  YSLDiscoverTableViewController.swift
//  SinaWeibo
//
//  Created by 嵩雷 on 16/3/6.
//  Copyright © 2016年 嵩雷. All rights reserved.
//

import UIKit

class YSLDiscoverTableViewController: UITableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        setupUI()
    }
//    显示xib的View
   private func setupUI() {
    
    //    Missing argument for parameter #1 in call  方法前面加class就好了
    let searchView = YSLDiscoverSearchView.searchView()
    searchView.frame = CGRectMake(0, 0, UIScreen.mainScreen().bounds.size.width, 35)
    navigationItem.titleView = searchView
    }

}
